import Layout from '@/layout'

export default {
  path: '/scheduling',
  component: Layout,
  meta: {
    title: '调度管理',
    icon: 'eye'
  },
  children: [
    {
      path: 'dispatch',
      component: () => import('@/views/scheduling/dispatch'),
      meta: {
        title: '派件作业',
        icon: 'eye'
      }
    },
    {
      path: 'line',
      component: () => import('@/views/scheduling/line/index.vue'),
      meta: {
        title: '线路管理',
        icon: 'eye'
      }
    },
    {
      path: 'pickup',
      component: () => import('@/views/scheduling/pickup'),
      meta: {
        title: '取件作业',
        icon: 'eye'
      }
    },
    {
      path: 'transport',
      component: () => import('@/views/scheduling/transport/index.vue'),
      meta: {
        title: '运输作业管理',
        icon: 'eye'
      }
      /*  children: [

        }
      ] */

    },
    {
      path: 'detail/:id',
      component: () => import('@/views/scheduling/transport/detail.vue'),
      hidden: true,
      meta: {
        title: '运输任务详情'
      }
    },
    {
      path: '/detail/asdasd/:id',
      component: () => import('@/views/scheduling/transport/asdasd.vue')
    }
  ]
}
